//
//  DoctorInfoCell.m
//  FastDoctor
//
//  Created by 王炯 on 16/7/9.
//  Copyright © 2016年 sc. All rights reserved.
//

#import "DoctorInfoCell.h"

@interface DoctorInfoCell()



@end


@implementation DoctorInfoCell

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {

        DocotorConditionController *vc = [[DocotorConditionController alloc] init];
        
        self.vc = vc;
        
        [self.contentView addSubview:vc.view];
    }
    
    return self;
}



-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.vc.view.frame = self.bounds;
}

//重写num的set方法
-(void)setNum:(NSInteger)num
{
    _num = num;
    
    self.vc.num = num;
    
}



@end
